libdbd-pg-perl software package provides Perl DBI driver for the PostgreSQL database server, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libdbd-pg-perl
libdbd-pg-perl is installed in your system.
Make ensure the libdbd-pg-perl package were installed using the commands given below,
$ sudo dpkg-query -l | grep libdbd-pg-perl *
You will get with libdbd-pg-perl package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Perl |
| Package | libdbd-pg-perl |
| Version | 3.5.3-1build1 |
| Description | Perl DBI driver for the PostgreSQL database server |
| Sub Section | Perl |